import yagmail,logging,yaml

def Common():
    logging.basicConfig(filename='./case/konfz.txt',filemode='w+',format='%(funcName)s->%(created)f ->%(message)s',level=logging.DEBUG)

def email(qq):
    giao=yagmail.SMTP(host='smtp.qq.com',user='2314336117@qq.com',password='ixpbgkkezjwodhif')
    giao.send(to='2314336117@qq.com',subject='rikao',contents='win',attachments=qq)
